package p270jp.pxv.android.license.model;

import android.support.p024v4.media.C0261e;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import java.util.List;
import p014ae.C0172v6;
import p325m0.MutabilityOwnership;
import p326m1.C4771r;
import p389ob.SerializedName;

/* compiled from: LicenseArtifact.kt */
/* renamed from: jp.pxv.android.license.model.LicenseArtifact */
/* loaded from: classes2.dex */
public final class LicenseArtifact {
    @SerializedName("key")
    private final String artifact;
    @SerializedName("copyrightHolders")
    private final List<String> copyRights;
    private final List<License> licenses;
    @SerializedName("displayName")
    private final String name;

    public LicenseArtifact(String str, List<String> list, String str2, List<License> list2) {
        MutabilityOwnership.m3745m(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        MutabilityOwnership.m3745m(str2, "artifact");
        MutabilityOwnership.m3745m(list2, "licenses");
        this.name = str;
        this.copyRights = list;
        this.artifact = str2;
        this.licenses = list2;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ LicenseArtifact copy$default(LicenseArtifact licenseArtifact, String str, List list, String str2, List list2, int i, Object obj) {
        if ((i & 1) != 0) {
            str = licenseArtifact.name;
        }
        if ((i & 2) != 0) {
            list = licenseArtifact.copyRights;
        }
        if ((i & 4) != 0) {
            str2 = licenseArtifact.artifact;
        }
        if ((i & 8) != 0) {
            list2 = licenseArtifact.licenses;
        }
        return licenseArtifact.copy(str, list, str2, list2);
    }

    public final String component1() {
        return this.name;
    }

    public final List<String> component2() {
        return this.copyRights;
    }

    public final String component3() {
        return this.artifact;
    }

    public final List<License> component4() {
        return this.licenses;
    }

    public final LicenseArtifact copy(String str, List<String> list, String str2, List<License> list2) {
        MutabilityOwnership.m3745m(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        MutabilityOwnership.m3745m(str2, "artifact");
        MutabilityOwnership.m3745m(list2, "licenses");
        return new LicenseArtifact(str, list, str2, list2);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof LicenseArtifact)) {
            return false;
        }
        LicenseArtifact licenseArtifact = (LicenseArtifact) obj;
        return MutabilityOwnership.m3749h(this.name, licenseArtifact.name) && MutabilityOwnership.m3749h(this.copyRights, licenseArtifact.copyRights) && MutabilityOwnership.m3749h(this.artifact, licenseArtifact.artifact) && MutabilityOwnership.m3749h(this.licenses, licenseArtifact.licenses);
    }

    public final String getArtifact() {
        return this.artifact;
    }

    public final List<String> getCopyRights() {
        return this.copyRights;
    }

    public final List<License> getLicenses() {
        return this.licenses;
    }

    public final String getName() {
        return this.name;
    }

    public int hashCode() {
        int hashCode = this.name.hashCode() * 31;
        List<String> list = this.copyRights;
        return this.licenses.hashCode() + C0172v6.m12134a(this.artifact, (hashCode + (list == null ? 0 : list.hashCode())) * 31, 31);
    }

    public String toString() {
        StringBuilder c = C0261e.m12042c("LicenseArtifact(name=");
        c.append(this.name);
        c.append(", copyRights=");
        c.append(this.copyRights);
        c.append(", artifact=");
        c.append(this.artifact);
        c.append(", licenses=");
        return C4771r.m3719c(c, this.licenses, ')');
    }
}
